@import '../../styles/theme.scss';
@import "~taro-ui/dist/style/components/icon.scss";
@import "~taro-ui/dist/style/components/input.scss";

.delivery_page {
  padding: 60px 60px 24px;

  .delivery_tabbar {
    width: 100%;
    display: flex;
    align-items: center;

    .at-input {
      margin-left: 0;
    }

    .at-input:after {
      display: none;
    }

    .at-input__container {
      padding-left: 24px;
      // border: 1px solid #666;
      border: 0;
      box-shadow: 10 rpx 5px 40 rpx rgba(0, 0, 0, 0.1);
      border-radius: 64px;
    }

    .at-input__input {
      width: 400px;
      height: 84px;
      padding: 0 24px 0 24px;
    }

    .delivery_saoyisao {
      width: 60px;
      height: 60px;
    }
  }

  .timeline {
    position: relative;
    text-align: left;
  }

  // .timeline::before {
  //     content: '';
  //     position: absolute;
  //     top: 55px;
  //     left: 27px;
  //     height: 100%;
  //     width: 2px;
  //     background: $text-color-lighter;
  // }
  .timeline-block {
    display: flex;
    margin-top: 32px;
    margin-bottom: 32px;
    position: relative;
  }

  .timeline-block:before {
    content: '';
    position: absolute;
    top: 55px;
    left: 27px;
    height: 100%;
    width: 2px;
    background: $text-color-lighter;
  }

  .timeline:last-child {
    .timeline-block:before {
      display: none;
    }
  }

  .ctimeline-img {
    // position: relative;
    // left: -1px;
    // top: 80px;
    width: 56px;
    height: 56px;
    background: $text-color-lighter;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;

    .icon {
      color: #fff;
      font-size: 37px;
    }
  }

  .ctimeline-img-success {
    background-color: green;
  }

  .timeline-img-item {
    width: 30px;
    height: 30px;
  }


  .item {
    float: left;
    clear: both;
    margin-bottom: 60px;
  }

  /* 向上的箭头 */
  .dot-top {
    position: relative;
    top: 80px;
    left: 19px;
    font-size: 0;
    line-height: 0;
    border: 10px dashed $text-color-light;
    border-top-width: 0;
    border-right-color: transparent;
    border-bottom-style: solid;
    border-left-color: transparent;
  }

  .msgBox {
    border: 2px solid #eeeeee;
    width: 100%;
    padding: 16px;
    // margin-top: 16px;
    .msgBox-title {
      color: $dark;
      font-weight: bold;
      margin-bottom: 6px;
      font-size: 26px;
    }

    .msgBox-desc {
      color: $text-color-light;
      margin-bottom: 6px;
      font-size: 24px;
    }

    .cd-date {
      font-size: 22px;
      color: $text-color-lighter;
    }
  }

  .r-info {
    // position: relative;
    // top: 0px;
    // left: 66px;
    margin-left: 24px;
    width: 80%;
    min-height: 100px;
    padding-bottom: 16px;
  }
}

.animation-scale-up {
  animation-name: slideInDown;
  animation-duration: .5s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

@keyframes slideInDown {
  from {
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}
